package com.eduhzy.ttw.teacher.di.component;

import dagger.BindsInstance;
import dagger.Component;

import com.jess.arms.di.component.AppComponent;

import com.eduhzy.ttw.teacher.di.module.ContactDetailsModule;
import com.eduhzy.ttw.teacher.mvp.contract.ContactDetailsContract;
import com.jess.arms.di.scope.ActivityScope;
import com.eduhzy.ttw.teacher.mvp.ui.activity.ContactDetailsActivity;

/**
 * @author xubo
 * @date 2018-7-25 9:59:04
 */
@ActivityScope
@Component(modules = ContactDetailsModule.class, dependencies = AppComponent.class)
public interface ContactDetailsComponent {
    void inject(ContactDetailsActivity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        ContactDetailsComponent.Builder view(ContactDetailsContract.View view);

        ContactDetailsComponent.Builder appComponent(AppComponent appComponent);

        ContactDetailsComponent build();
    }


}